WorkerPool .spec .pod .workerContainer
WorkerContainer allows you to override parts of the worker that is used to run jobs.
| Description | |
|---|---|
| env š WorkerPoolSpecPodWorkercontainerEnv[] | List of environment variables to set in the container. Cannot be updated. |
| envFrom š WorkerPoolSpecPodWorkercontainerEnvfrom[] | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. |
| imagePullPolicy string | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images |
| resources š WorkerPoolSpecPodWorkercontainerResources | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
| securityContext š WorkerPoolSpecPodWorkercontainerSecuritycontext | SecurityContext defines the security options the container should be run with. ā ļø Overriding this field may cause unexpected behaviors and should be avoided as much as possible. The operator is configured to run in a least-privileged context using UID/GID 1983. Running it as root may lead to unexpected behavior. Use at your own risk. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| volumeMounts š WorkerPoolSpecPodWorkercontainerVolumemounts[] | Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. |